<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" type="text/css" href="css/cube-min.css">
    <link rel="stylesheet" type="text/css" href="css/main.css">
    <script type="text/javascript" src="js/jquery-1.11.1.min.js"></script>
    <script type="text/javascript" src="js/function.js"></script>
</head>
<style>
    .frame{
        width: 100%;
        height:500px;;
    }
    .xxx{
        height:40px;
        background-color: #000;;
    }
</style>
<body>
<div class="xxx"></div>
<div class="frame">
    <iframe allowtransparency="true" frameborder="0" marginheight="0" scrolling="no" marginwidth="0" width="100%" height="100%" src="demo.html"></iframe>
</div>
</body>
</html>